import Dashboard from '@/components/dashboard/Dashboard'

const DashboardPage = async () => {
  // if (Math.random() > 0.5) throw new Error('random error')

  // const message = await new Promise<string>(resolve => {
  //   console.log('in executing sleep!')
  //   setTimeout(() => resolve('after 1000 ms!'), 1000)
  // })
  return (
    <div>
      dashboard
      <Dashboard />
    </div>
  )
}

export default DashboardPage
